import { BuildOptions, DataTypes, INTEGER, Model, Sequelize, STRING } from "sequelize";
import myseq from "../db/db";

class Book extends Model<Book> {
    public name: string;
    public pageSize: number;
    public userId: number;
}
Book.init({
    name: STRING(126),
    pageSize: INTEGER,
    userId: INTEGER,
}, {
    tableName: "Book",
    sequelize: myseq
});
export default Book;
